#!/usr/bin/env python
# -*- coding: utf-8 -*-

# @Time     :2020/11/21
# @Author   :Changshu
# @File     :Test.py


# nums=[[0,1,0,0],[1,1,0,0],[0,1,0,0],[1,1,0,0]]
#
# for i in nums:
# 	for j in i:
# 		print(j,end=' ')
# 	print()

# for i in range(10,0,-1):
# 	print(i,end=' ')

# print(10%4)

# l=['1','2','3','4']
# print(''.join(l))

# nums=[1,1,0,0,1,1,1]
# print(list(map(str,nums)))

# s='1010101011111000'
# print(list(map(len,s.split('0'))))

# print(5//2)

# print(int(5**0.5))

# l=[1,2,3,4,5,6]
# print(l.pop())
# print(l)

# 集合比较大小
# s1={1,2,3,4}
# s2={1,2,3,4}
# print(s1==s2)

# s='sadqweRsqf'
# print(s.lower())
# print(set(s))

# l=[1,2,3,4]
# l.clear()
# print(l)

# print(int(10**0.5))
# print(ord('c')>65)
# print(ord('A'))
# print(ord('Z'))
# print(ord('a'))
# print(ord('z'))

# a='abcdefg'
# b='hijklmn'
# print(a[0:3])

# 正无穷
# print(float('inf'))
# print(float('inf')+1)
# # 负无穷
# print(float('-inf'))
# print(float('-inf')-1)

s='abcdefg'
print(s[-1:-8:-1])